/*
 * author      : dormi330
 * date        : 2018/6/26
 * project     : mybatis
 * description : adaptor 商品服务
 */

package com.deep.trade.adaptor.required.catalog;

import com.deep.trade.adaptor.required.IdService;
import org.springframework.stereotype.Service;

@Service
public class CatalogServiceMock implements CatalogService {

    public static final Catalog catalog1 = new Catalog(
            IdService.TENANT_CODE,
            IdService.CATALOG_ID);

    @Override
    public Catalog getCatalogById(String catalogId) throws Exception {
        return catalog1;
    }
}
